

<?php

	if(move_uploaded_file($_FILES["uploadedfile"]["tmp_name"], $_SERVER['DOCUMENT_ROOT'] . "sp/" . $_FILES["uploadedfile"]["name"])) {
    echo "The file ".  basename( $_FILES['uploadedfile']['name']). 
    " has been uploaded";
} else{
    echo "There was an error uploading the file, please try again!";
}
	
	

  ?>